import 'package:flutter_test_demo/model/cart_model.dart';

class ShopCartBlocState {

  List<CartModel> cartGoodsList = [];
  List<String> payWay = [];
  int? foreign;

  ShopCartBlocState init() {
    return ShopCartBlocState()
    ..cartGoodsList = []
    ..payWay = ['支付宝', '微信', '现金'];
  }

  ShopCartBlocState clone() {
    return ShopCartBlocState()
      ..cartGoodsList = cartGoodsList
      ..payWay = payWay;
  }
}
